using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using Cuahsi.Data.Interop.WaterML2.om_20;
using Renci.Data.Interop.OpenGIS.Gml_32;

namespace Cuahsi.Data.Interop.WaterML2
{
    [XmlInclude(typeof(MeasurementTimeseriesMetadataType))]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace = "http://www.opengis.net/waterml/2.0")]
    [XmlRoot("TimeseriesMetadata", Namespace = "http://www.opengis.net/waterml/2.0", IsNullable = false)]
    [DataContract(Name = "TimeseriesMetadataType", Namespace = "http://www.opengis.net/waterml/2.0")]
    public partial class TimeseriesMetadataType
    {

        private TimePeriodPropertyType temporalExtentField;

        private TimePositionType baseTimeField;

        private string spacingField;

        private List<CommentBlockPropertyType> commentBlockField;

        private List<NamedValuePropertyType> parameterField;

        public TimeseriesMetadataType()
        {
            this.parameterField = new List<NamedValuePropertyType>();
            this.commentBlockField = new List<CommentBlockPropertyType>();
        }

        [DataMember()]
        public TimePeriodPropertyType temporalExtent
        {
            get
            {
                return this.temporalExtentField;
            }
            set
            {
                this.temporalExtentField = value;
            }
        }

        [DataMember()]
        public TimePositionType baseTime
        {
            get
            {
                return this.baseTimeField;
            }
            set
            {
                this.baseTimeField = value;
            }
        }

        [XmlElement(DataType = "duration")]
        [DataMember()]
        public string spacing
        {
            get
            {
                return this.spacingField;
            }
            set
            {
                this.spacingField = value;
            }
        }

        [XmlElement("commentBlock")]
        [DataMember()]
        public List<CommentBlockPropertyType> commentBlock
        {
            get
            {
                return this.commentBlockField;
            }
        }

        [XmlElement("parameter")]
        [DataMember()]
        public List<NamedValuePropertyType> parameter
        {
            get
            {
                return this.parameterField;
            }
        }
    }
}